<%-- 
    Document   : filter
    Created on : Apr 23, 2012, 1:27:19 PM
    Author     : User
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
    String a = request.getParameter("select");
    if(a.equals("search1")) { // unsupervised discretize
        session.setAttribute("filter", "search1");
    }
    else if(a.equals("search2")) { // unsupervised normalize
        session.setAttribute("filter", "search2");
    }
    else if(a.equals("search3")) { // unsupervised replace missing value
        session.setAttribute("filter", "search3");
    }
    else if(a.equals("search4")) { // supervised attribute selection
        session.setAttribute("filter", "search4");
    }
    else {
        session.setAttribute("filter", "search5");
    }
    response.sendRedirect("index.jsp");
%>
